package com.cx.jsjmybatis.mapper;

import com.cx.jsjmybatis.model.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Jiang
 * @date 2025/10/15
 */

@Mapper
public interface StudentMapper {

    int insert(Student student);

    int deleteById(@Param("id") Integer id);

    int update(Student student);

    Student selectById(@Param("id") Integer id);

    List<Student> selectAll();
}
